package cc.facesign.acl.client;

import cc.facesign.common.utils.bean.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
@FeignClient(value = "service-admin")
public interface DeptClient {

    @ApiOperation("批量获取部门信息")
    @PostMapping(value = "/admin/client/dept/getInfoBatch")
    R getInfoBatch(@RequestParam("ids") List<String> ids);
}
